package com.church.services;

import com.church.db.User;
import java.util.List;

public interface UserServices {
   /**
    * <pre>
    *           1..1     1..*
    * UserServices ------------------------> User
    *           &lt;       userList
    * </pre>
    */
   public List<User> getUserList() ;
   
   public String login(String name, String password);
   
   public User findUserByName(String name);
   
   public List<User> getUserListByGroup(String group);
   
   public User findUserById(long id);
   
   public String register(User user);
   
   public String update(User user);
   public String remove(int id);
   
   }
